package com.instant.dal;

import com.instant.dal.model.Macro;
import com.instant.dal.model.MacroExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MacroMapper {
    long countByExample(MacroExample example);

    int deleteByExample(MacroExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Macro record);

    int insertSelective(Macro record);

    List<Macro> selectByExampleWithBLOBs(MacroExample example);

    List<Macro> selectByExample(MacroExample example);

    Macro selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Macro record, @Param("example") MacroExample example);

    int updateByExampleWithBLOBs(@Param("record") Macro record, @Param("example") MacroExample example);

    int updateByExample(@Param("record") Macro record, @Param("example") MacroExample example);

    int updateByPrimaryKeySelective(Macro record);

    int updateByPrimaryKeyWithBLOBs(Macro record);

    int updateByPrimaryKey(Macro record);
}